package com.zd.utils;

import com.zd.exceptions.ParamsException;

/**
 * AssertUtil
 * @author TMAC
 * @email 2466721401@qq.com
 */
public class AssertUtil {

    public static void isTrue(Boolean flag,String msg){
        if(flag){
            throw new ParamsException(msg);
        }
    }

}
